Data Showcase

The Content HTML iPart lets you leverage HTML to create compelling designs; the Data Showcase iPart lets you combine this power with variables that merge in your iMIS data, dynamically and reusably. When you specify data sources, such as Event and Party, you can then use variables in your HTML that will insert values from these data sources (such as venue details), styled for your needs. You can use for each structures to display groups of values (such as all functions), and you can have the iPart hide itself if it detects any data errors.

Data sources

Placeholders

Use placeholders within the content and the title to denote areas that will resolve against the data sources. Placeholders may also be using to populate attributes within HTML tags, such as the src attribute of <img> and <a> tags.
Placeholders are specified using {} notation.

Data {#datasource[.property...] [attributes]}

The {#...} placeholder embeds data into the content or title at the placeholder location. The placeholder consists of the following components.

Examples:

         {#event.Name}
        {#event.Name uppercase}
        {#event.StartDateTime format="d"}
        {#party.Status.Name}
        {#party.Addresses[1].Address.CityName}
        <img src="{#event.ImageUrl resolve=~}">
Foreach {foreach alias in source [orderby [property,...]]} 

The {foreach...} placeholder is used to iterate through a collection, repeating and resolving the inner content against each item in the collection.

The opening {foreach...} placeholder must having a closing {/foreach} placeholder. The content between the opening and closing placeholders is the inner content. The inner content may contain placeholders, including nested {foreach...} placeholders. The inner content is repeated and resolved against each item in the collection.

The placeholder consists of the following components.

Examples: